Channel: Coding in Flow
Category: Education
Tags: unity invoke delayunity animation eventunity stop movement on collisionunity player death on collisionunity player death animationunity player death scriptunity player deathunity animation triggerunity set trigger animatorunity respawn player after deathunity settriggerunity reload levelunity scenemanagerany stateunity delay functionplayer death and respawn unity 2dunity delay without coroutineunity player death restartunity restart level
Description: In this part, we will let the player die when it collides with a trap and restart the level using the SceneManager. Github repository: github.com/codinginflow/2DPlatformerBeginner ____________________ š Learn how to build a 2D game in Unity (beginner): youtube.com/playlist?list=PLrnPJCHvNZuCVTz6lvhR81nnaf1a-b67U š Learn how to build a 3D game in Unity (beginner): youtube.com/playlist?list=PLrnPJCHvNZuB5ATsJZLKX3AW4V9XaIV9b āļø Find cool game assets in the Unity Asset Store:* assetstore.unity.com/top-assets/top-download?pubref=1011ljfPq š® Unity Pro:* prf.hn/click/camref:1011ljfPq/destination:https://store.unity.com/products/unity-pro š® Unity Plus:* prf.hn/click/camref:1011ljfPq/destination:https://store.unity.com/products/unity-plus š Unity Learn Premium:* prf.hn/click/camref:1011ljfPq/destination:https://unity.com/learn-premium š Unity Partner Courses:* prf.hn/click/camref:1011ljfPq/destination:https://unity.com/learn/partner-courses ā Subscribe to the channel: youtube.com/c/codinginflow?sub_confirmation=1 šØ Subscribe to the Coding in Flow newsletter: codinginflow.com/newsletter š Donate to Coding in Flow with a message: paypal.me/codinginflow ā Ask your programming questions in our chat: discord.gg/TSnMvmc š£ Follow Coding in Flow on other sites: Facebook: facebook.com/codinginflow Instagram: instagram.com/codinginflow Twitter: twitter.com/codinginflow Github: github.com/codinginflow š² Business requests, sponsoring, etc.: info@codinginflow.com * Affiliate Link: When you buy something through my affiliate link, I earn a small commission at NO additional cost to you. You don't pay more than usual, but you help support this channel.